package com.spsy.prod.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spsy.common.core.annotation.Excel;
import com.spsy.common.core.web.domain.BaseEntity;

/**
 * 订单记录对象 tb_order_record
 * 
 * @author ruoyi
 * @date 2025-07-31
 */
public class TbOrderRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 操作记录 */
    @Excel(name = "操作记录")
    private String optRecord;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setOptRecord(String optRecord) 
    {
        this.optRecord = optRecord;
    }

    public String getOptRecord() 
    {
        return optRecord;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("orderId", getOrderId())
            .append("optRecord", getOptRecord())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
